/**
 * @description:检验管理
 */
const QualityControl = {
  path: "/quality-control",
  component: "Layout",
  redirect: "noRedirect",
  name: "QualityControl",
  meta: { title: "质量管理", icon: "system-settings" },
  children: [
    {
      path: "/traceabilityMsg",
      component: "traceability/index",
      redirect: "noRedirect",
      name: "TssTraceabilityMsg",
      meta: { title: "质量追溯", icon: "monitoring-alarm" },
      children: [
        {
          path: "/tss-traceabilityMsg",
          component: "traceability/traceabilitySystem/index",
          redirect: "noRedirect",
          name: "TssTraceabilityMsg",
          meta: { title: "溯源信息管理", icon: "monitoring-alarm" },
          children: [{
            path: "/traceability-traceabilitySystem",
            name: "traceabilityMsg",
            component: "traceability/traceabilitySystem/traceabilityMsg/index",
            meta: {
              title: "生产溯源信息",
              icon: "monitoring-handling"
            },
          },
          {
            path: "/QRCodeMsg",
            name: "QRCodeMsg",
            component: "traceability/traceabilitySystem/QRCodeMsg/index",
            meta: {
              title: "生成溯源码",
              icon: "monitoring-handling"
            },
          }
          ]
        },
        {
          path: "/tss-basicsInfo",
          component: "traceability/basicsInfo/index",
          redirect: "noRedirect",
          name: "tssBasicsInfo",
          meta: {
            title: "溯源基础信息管理",
            icon: "monitoring-alarm"
          },
          children: [{
            path: "/fishSpeciesImg",
            name: "fishSpeciesImg",
            component: "traceability/basicsInfo/fishSpeciesImg/index",
            meta: {
              title: "品种溯源图片管理",
              icon: "monitoring-handling"
            },
          }, {
            path: "/subjectInfo",
            name: "subjectInfo",
            component: "traceability/basicsInfo/subjectInfo/index",
            meta: {
              title: "主体信息管理",
              icon: "monitoring-handling"
            },
          }, {
            path: "/codeRule",
            name: "codeRule",
            component: "traceability/basicsInfo/codeRule/index",
            meta: {
              title: "编码规则管理",
              icon: "monitoring-handling"
            },
          }, {
            path: "/stageMsg",
            name: "stageMsg",
            component: "traceability/basicsInfo/stageMsg/index",
            meta: {
              title: "阶段管理",
              icon: "monitoring-handling"
            },
          }
          ]
        }]
    },
    {
      path: "/inspection-management",
      component: "inspection-management/index",
      redirect: "noRedirect",
      name: "InspectionManagement",
      meta: { title: "检验管理", icon: "monitoring-alarm" },
      children: [{
        path: "/inspection-report-management",
        name: "InspectionReportManagement",
        component: "inspection-management/inspection-report-management/index",
        meta: { title: "检测报告管理", icon: "user-manage" }
      }, {
        path: "/inspectionReport",
        name: "inspectionReport",
        component: "maintenance-management/inspectionReport/index",
        meta: {
          title: "批次检验管理",
          icon: "monitoring-handling"
        },
      }]
    }
  ]
};

export default QualityControl;
